package com.itheima.mapper;

import com.itheima.VO.AdvimgVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface YddAdvimgMapper {

    @Select("select * from ydd_advimg")
    List<AdvimgVO> selectAllAdvimg();

    @Select("select count(*) from ydd_advimg")
    Integer selectCount();
}
